//package com.bmmtwabp.employeedashbord.controller;
//
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.boot.web.servlet.error.ErrorController;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.GetMapping;
//
///**
// * @Description: 异常错误-controller
// * @Param:
// * @return:
// * @Author: fenghouzhi
// * @Date: 2:42 PM 2018/10/22
// */
//@Slf4j
//@Controller
//@Api(tags = "后台异常处理接口")
//public class BaseErrorController implements ErrorController {
//
//  @Override
//  public String getErrorPath() {
//    log.info("出错啦!");
//    return "exception500";
//  }
//
//  @GetMapping(value = "error")
//  @ApiOperation(value = "进入异常友好提示页面")
//  public String error() {
//    return getErrorPath();
//  }
//
//}
